<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增一个健康科普</title>
    <link rel="stylesheet" type="text/css" href="/css/healthManage.css"/>
    <link rel="stylesheet" type="text/css" th:href="@{~/css/bootstrap.css}" />
    <script th:src="@{~/js/jquery-3.3.1.js}" type="text/javascript" charset="utf-8"></script>
    <script th:src="@{~/js/bootstrap.js}" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div class="container">
    <h1>请输入你想要增加的健康科普信息</h1>
    <form action="/addHealthKnows" method="post" enctype="multipart/form-data">
        <div class="form-group">
            <label for="exampleFormControlInput1">标题</label>
            <input type="text" class="form-control" id="exampleFormControlInput1" placeholder="请输入标题" name="title">
        </div>

        <div class="form-group">
            <label for="exampleFormControlInput1">图片</label>
            <label class="sr-only btn " for="inputfile">文件输入</label>
            <input type="file" id="inputfile" name="img">
        </div>


        <div class="form-group">
            <label for="name">内容</label>
            <textarea class="form-control" rows="15" name="body"></textarea>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <input type="submit" name="add" value="提交" class="btn btn-info  btn-lg form-control" >
            </div>
        </div>
    </form>
</div>
</body>
</html>